package com.shkco.pet.mapper;

import com.shkco.pet.domain.Pet;
import com.shkco.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xbj
 * @since 2022-09-04
 */
public interface PetMapper extends BaseMapper<Pet> {

    void offsale(@Param("date")Date date, @Param("ids")List<Long> ids);

    void onsale(@Param("date")Date date, @Param("id")Long id);
}
